﻿@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<YYBlog.Core.ViewProjections.Admin.AuthorProfileViewModel>
@{
    Layout = "_AdminLayout.cshtml";
}
<div class="title">个人信息</div>
<div class="mb-4 tools w-100">
    <div class="btn-group">
        <a href="/yy-admin/change-profile" class="btn btn-secondary btn-sm">个人信息</a>
        <a href="/yy-admin/change-password" class="btn btn-secondary btn-sm">修改密码</a>
    </div>
    
</div>
<div class="well col-md-4 col-md-offset-4">
    <form action="/yy-admin/change-profile" method="post" role="form">
        
        <div class="form-group">
            <input type="email" class="form-control" name="NewEmail" placeholder="Email" value="@Model.Email" />
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="NewDisplayName" placeholder="显示名" value="@Model.DisplayName" />
        </div>
        <button type="submit" class="btn btn-primary">修改</button>
    </form>
</div>